package cn.t16.ms.feign.user;

import cn.t16.common.Result;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

@Component
public class UserClientFallback implements UserClient{
    @Override
    public Result myorders(Integer userId) {
        return Result.returnResult(500,"error",null);
    }

    @Override
    public Result save2(UserVO user, MultipartFile idPicPath) {
        return Result.returnFailed();
    }

    @Override
    public Result orders(Integer orderId) {
        return Result.returnResult(500,"error",null);
    }

    @Override
    public Result get(Integer id) {
        return Result.returnResult(500,"error",null);
    }

    @Override
    public Result save(UserVO user) {
        return Result.returnResult(500,"error",null);
    }

    @Override
    public Result getAll() {
        return Result.returnResult(500,"error",null);
    }
}
